package by.yakusekmaxim.bookgid.dataaccess;

import java.util.List;

import by.yakusekmaxim.bookgid.datamodel.Book;
import by.yakusekmaxim.bookgid.datamodel.Review;
import by.yakusekmaxim.bookgid.datamodel.UserAccount;

public interface ReviewDao extends AbstractDao<Long, Review> {
	List<Review> getAllReview(Book book, boolean ascending);
	List<Review> getReview(Book book,UserAccount user);
}
